/**
  ******************************************************************************
  * @file    judgemap.h
  * @author  yan
  * @version 1.0
  * @date    2016-12-09
  * @brief   
  ******************************************************************************
	*/
  
#ifndef __JUDGEMAP_H_
#define __JUDGEMAP_H_

#include  <rtthread.h> 

typedef struct _m_DataMap
{
  rt_uint8_t * judgedata;
  void (* judgefunc)(rt_uint8_t *);

}DataMap;


typedef DataMap *ElemType;

typedef struct Node
{
  ElemType  data;
  struct Node *next;
    
} LNode,*LinkList;
/** @addtogroup 
  * @{
  */

void judgemap_process(LinkList L,rt_uint8_t * judgedata,rt_uint8_t (*judgefunc)(rt_uint8_t*,rt_uint8_t*));
void judgemap_add(LinkList L,rt_uint8_t * judgedata,void (* judgefunc)(rt_uint8_t *));
void judgemap_build(LinkList *L);

/**	
	*	@}
	*/

#endif

